#ifndef _test_Request_h
#define _test_Request_h

#include <nemesis.comm.Codec.h>

namespace test {

class Request : public nemesis::comm::Codec {
public:
   static const int Id = 1;
   int x;
   int y;
   int op;
   Integer64 initTime;

   Request () : nemesis::comm::Codec (Id, false) {
      attach ("X", 0, x);
      attach ("Y", 1, y);
      attach ("OP", 2, op);
      attach ("InitTime", 3, initTime);
   }
};

}

#endif

